<FORM method="post" enctype="multipart/form-data" action="/?cat=commit_artist">

    <TABLE class="commit_table" width="75%" align="center" cellspacing="5" cellpadding="0">
	<TR>
	    <TD width="100%" class="commit_caption">
		<TABLE border="0">
		    <TR>
			<TD  nowrap align="left" width="100%">
			    <!--TPL:"Add new artist to database"|gettext-->
			</TD>
		    </TR>
		</TABLE>
	    </TD>
	</TR>
	<TR>
	    <TD width="100%" class="commit_desc" align="center">
                <P><!--TPL:"Please don't abuse."|gettext--></P>
                <P><!--TPL:"Make sure artist does not exist in database."|gettext--></P>
	    </TD>
	</TR>
	<TR>
	    <TD width="100%">


<TABLE width="85%" border="0" align="center" cellspacing="0" cellpadding="5">
<TR>
	<TD class="commit_label" nowrap align="right" width="35%">
		<!--TPL:"Artist name"|gettext-->:
	</TD>
	<TD nowrap align="left" height="32" width="65%">
		<input name="artistname" id="artistname" class="flat" type="text" size="30" maxlength="128">
		<span id="validateArtistname" class="validation"></span>
	</TD>
</TR>

<TR>
	<TD class="commit_label" nowrap align="right">
	    <small><!--TPL:"Old name"|gettext-->:</small>
	</TD>
	<TD nowrap align="left">
		<input name="old_artistname" id="old_artistname" class="flat" type="text" size="30" maxlength="128">
	</TD>
</TR>

<TR>
	<TD class="commit_label" nowrap align="right">
	    <small><!--TPL:"Country"|gettext-->:</small>
	</TD>
	<TD nowrap align="left">
		<input name="country" id="country" class="flat" type="text" size="30" maxlength="64">
	</TD>
</TR>

<TR>
	<TD class="commit_label" nowrap align="right">
		<!--TPL:"Year formed"|gettext-->:
	</TD>
	<TD nowrap align="left" height="32">
		<input name="year_formed" onkeyup="controlNumeric(this, document.getElementById('validateYearFormed'));" id="year_formed" class="flat" type="text" size="2" maxlength="4">
		<span id="validateYearFormed" class="validation"></span>
    </TD>
</TR>

<TR>
	<TD class="commit_label" nowrap align="right">
		<!--TPL:"Year disbanded"|gettext-->:
	</TD>
	<TD nowrap align="left">
		<input name="year_disbanded" id="year_disbanded" class="flat" type="text" size="2" maxlength="4">
	</TD>
</TR>

<TR>
	<TD class="commit_label" nowrap align="right">
	    <small><!--TPL:"Homepage"|gettext-->:</small>
	</TD>
	<TD nowrap align="left">
		<input name="homepage" id="homepage" class="flat" type="text" size="30" maxlength="128">
	</TD>
</TR>

<TR>
	<TD class="commit_label" nowrap align="right">
	    <small><!--TPL:"Myspace"|gettext-->:</small>
	</TD>
	<TD nowrap align="left">
		<input name="myspace" id="myspace" class="flat" type="text" size="30" maxlength="128">
	</TD>
</TR>

<TR>
	<TD class="commit_label" nowrap align="right">
	    <small><!--TPL:"Picture"|gettext-->:</small>
	</TD>
	<TD nowrap align="left">
	    <input type="file" id="picture" name="picture" size="25">
                              <br>
                                <input class="flat" type="text" id="picture_url" name="picture_url" size="38">
	</TD>
</TR>

<TR>
	<TD nowrap align="right">

	</TD>
	<TD nowrap align="left">
	    <HR align="left" width="53%" size="1" noshade>
	</TD>
</TR>

<TR>
    <TD nowrap align="right">
	
    </TD>
    <TD nowrap align="left">
	<a class="button" id="switch_opts" onclick="switchOptions(); return false;" href="#"><!--TPL:"More options"|gettext--></a>
    </TD>
</TR>


<TR id="opts1" style="display: none">
	<TD class="commit_label" nowrap align="right">
		<!--TPL:"Labels"|gettext-->:
	</TD>
	<TD nowrap align="left">
	    <div id="labels">
	    </div>
	</TD>
</TR>

<TR id="opts2" style="display: none">
	<TD nowrap align="right">

	</TD>
	<TD nowrap align="left">
		<a class="button" href="#" onclick="addLabel(); return false;">&nbsp;<!--TPL:"Add label"|gettext--></a><br>
	</TD>
</TR>

<TR id="opts3" style="display: none">
	<TD class="commit_label" nowrap align="right">
	    <small><!--TPL:"Check if currently unsigned"|gettext-->:</small>
	</TD>
	<TD nowrap align="left">
	    <INPUT type="checkbox" name="unsigned" id="unsigned">
	</TD>
</TR>

<TR id="opts4" style="display: none">
	<TD class="commit_label" nowrap align="right">
		<!--TPL:"Releases"|gettext-->:
	</TD>
	<TD nowrap align="left">
	    <div id="releases">
	    </div>
	</TD>
</TR>

<TR id="opts5" style="display: none">
	<TD nowrap align="right">

	</TD>
	<TD nowrap align="left">
		<a class="button" href="#" onclick="addRelease(); return false;">&nbsp;<!--TPL:"Add release"|gettext--></a><br>
	</TD>
</TR>

<TR id="opts6" style="display: none">
	<TD class="commit_label" nowrap align="right">
		<!--TPL:"Tags"|gettext-->:
	</TD>
	<TD nowrap align="left">
		<div id="tags">
		</div>
	</TD>
</TR>

<TR id="opts7" style="display: none">
	<TD nowrap align="right">

	</TD>
	<TD nowrap align="left">
		<a class="button" href="#" onclick="addTag(); return false;">&nbsp;<!--TPL:"Add tag"|gettext--></a><br>
	</TD>
</TR>

<TR id="opts8" style="display: none">
	<TD class="commit_label" nowrap align="right">
		<!--TPL:"Members"|gettext-->:
	</TD>
	<TD nowrap align="left" width="100%">
		<div id="members">
		</div>
	</TD>
</TR>

<TR id="opts9" style="display: none">
	<TD nowrap align="right">
	
	</TD>
	<TD nowrap align="left" width="100%">
		<a class="button" href="#" onclick="addDrummer(); return false;">&nbsp;<!--TPL:"Add drummer"|gettext--></a><br>
		<a class="button" href="#" onclick="addGuitarist(); return false;">&nbsp;<!--TPL:"Add guitarist"|gettext--></a><br>
		<a class="button" href="#" onclick="addBassist(); return false;">&nbsp;<!--TPL:"Add bassist"|gettext--></a><br>
		<a class="button" href="#" onclick="addVocalist(); return false;">&nbsp;<!--TPL:"Add vocalist"|gettext--></a><br>
		<a class="button" href="#">&nbsp;<!--TPL:"Add keyboards"|gettext--></a><br>
		<a class="button" href="#">&nbsp;<!--TPL:"More roles"|gettext--></a>
	</TD>
</TR>

<TR>
	<TD nowrap align="right">

	</TD>
	<TD nowrap align="left">
            <input type="submit" class="submit" value="<!--TPL:"Add artist"|gettext-->" id="submit">
                <!--TPL:if $user->id == 0 -->
                <small><!--TPL:"You are not logged in. Artist will be added by <strong>Anonymous</strong>"|gettext--></small>
                <!--TPL:/if -->
        </TD>
</TR>

<TR>
	<TD nowrap align="right">

	</TD>
	<TD nowrap align="left">
		<span id="error" style="display:block" class="error">
		</span>
	</TD>
</TR>

</TABLE>

	    </TD>
	</TR>
    </TABLE>
</FORM>